package cn.bx.film.service;


import cn.bx.film.dao.FilmTypeDao;
import cn.bx.film.entity.FilmType;
import cn.bx.film.entity.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

//M V C
@Service
public class FilmTypeService {
	public static final int PAGE_SIZE = Page.PAGE_SIZE;
	@Autowired
	private FilmTypeDao filmTypeDao;

	public List<FilmType> findALL() {
		return filmTypeDao.findALL();
	}
}